package com.iris.live.services.data.repositories;

import com.iris.live.services.data.models.报价保险表Model;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

/**
 * Created by Xin on 7/8/2016.
 */
public interface 报价保险表Repository extends JpaRepository<报价保险表Model, Integer>, JpaSpecificationExecutor<报价保险表Model> {
    @Query("select m from 报价保险表Model m where m.保险编号 = ?1 ")
    报价保险表Model findby编号(int 编号 );
}
